← Back
Editing: download-speed-legacy.js
System.register(["./index-legacy394.js?v=1765440387","./base-lib-legacy.js?v=1765440387","./validator-legacy.js?v=1765440387","./utils-lib-legacy.js?v=1765440387","./__commonjsHelpers__-legacy.js?v=1765440387","./index-legacy94.js?v=1765440387","./column-legacy.js?v=1765440387"],function(e,n){"use strict";var s,l,t,i,a,c,o,u,r,p,d,f,g;return{setters:[function(e){s=e._},function(e){l=e.c,t=e.s,i=e.p,a=e.a5,c=e.q,o=e.v,u=e.y,r=e.z,p=e.x,d=e.e},function(e){f=e.I},function(e){g=e.e},null,null,null],execute:function(){var n={class:"p-[20px] pt-[3rem]"},m={class:"flex items-center justify-between mb-[5px]"},x={class:"mt-[4px] flex justify-between items-center"},v={class:"flex"},y={class:"mr-[25px]"},j=l({__name:"download-speed",setup:function(e,l){var g=l.expose,j=t(f()),_=j.downloadSpeed,w=j.doneSize,b=j.totalSize,S=j.speedSize,z=j.pluginTitle,I=j.pluginActiveInfo,T=f(),h=T.initDownLoad,A=T.closeDownLoad,D=T.clearTimeoutAll;return i(function(){return h()}),a(function(){return A()}),g({close:D}),function(e,l){var t=s;return c(),o("div",n,[u("div",m,[u("span",null," 正在下载"+r(p(z)+" "+p(I).fullVersion)+",请稍后 ... ",1),u("span",null,r(p(_).progress)+"%",1)]),d(t,{strokeWidth:5,percentage:p(_).progress,showText:!1},null,8,["percentage"]),u("div",x,[u("div",v,[u("span",y,r(p(w))+" / "+r(p(b)),1),u("span",null,"预计还要:"+r(p(_).estimated)+"秒",1)]),u("span",null,r(p(S))+"/s",1)])])}}});e("default",g(j,[["__scopeId","data-v-89243387"]]))}}});
Save File
Cancel